home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-03-04 | 7.2 KB | 292 lines | [TEXT/MPS ] |
- ; File: E16.MiscTool
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-92
- ; All Rights Reserved
- ;
- ;
- badInputErr EQU $0301 ; bad input parameter
- noDevParamErr EQU $0302 ; no device for input parameter
- taskInstlErr EQU $0303 ; task already installed error
- noSigTaskErr EQU $0304 ; no signature in task header
- queueDmgdErr EQU $0305 ; queue has been damaged error
- taskNtFdErr EQU $0306 ; task was not found error
- firmTaskErr EQU $0307 ; firmware task was unsuccessful
- hbQueueBadErr EQU $0308 ; heartbeat queue damaged
- unCnctdDevErr EQU $0309 ; attempted to dispatch to unconnected device
- idTagNtAvlErr EQU $030B ; ID tag not available
- notInList EQU $0380
- invalidTag EQU $0381 ; correct signature value not found in header
- alreadyInQueue EQU $0382
- badTimeVerb EQU $0390
- badTimeData EQU $0391
-
- pdosUnClmdIntErr EQU $0001 ; ProDOS unclaimed interrupt error
- divByZeroErr EQU $0004 ; divide by zero error
- pdosVCBErr EQU $000A ; ProDOS VCB unusable
- pdosFCBErr EQU $000B ; ProDOS FCB unusable
- pdosBlk0Err EQU $000C ; ProDOS block zero allocated illegally
- pdosIntShdwErr EQU $000D ; ProDOS interrupt w/ shadowing off
- stupVolMntErr EQU $0100 ; can't mount system startup volume
- p1PrntModem EQU $0000
- p1LineLnth EQU $0001
- p1DelLine EQU $0002
- p1AddLine EQU $0003
- p1Echo EQU $0004
- p1Buffer EQU $0005
- p1Baud EQU $0006
- p1DtStpBits EQU $0007
- p1Parity EQU $0008
- p1DCDHndShk EQU $0009
- p1DSRHndShk EQU $000A
- p1XnfHndShk EQU $000B
- p2PrntModem EQU $000C
- p2LineLnth EQU $000D
- p2DelLine EQU $000E
- p2AddLine EQU $000F
- p2Echo EQU $0010
- p2Buffer EQU $0011
- p2Baud EQU $0012
- p2DtStpBits EQU $0013
- p2Parity EQU $0014
- p2DCDHndShk EQU $0015
- p2DSRHndShk EQU $0016
- p2XnfHndShk EQU $0017
- dspColMono EQU $0018
- dsp40or80 EQU $0019
- dspTxtColor EQU $001A
- dspBckColor EQU $001B
- dspBrdColor EQU $001C
- hrtz50or60 EQU $001D
- userVolume EQU $001E
- bellVolume EQU $001F
- sysSpeed EQU $0020
- slt1intExt EQU $0021
- slt2intExt EQU $0022
- slt3intExt EQU $0023
- slt4intExt EQU $0024
- slt5intExt EQU $0025
- slt6intExt EQU $0026
- slt7intExt EQU $0027
- startupSlt EQU $0028
- txtDspLang EQU $0029
- kyBdLang EQU $002A
- kyBdBuffer EQU $002B
- kyBdRepSpd EQU $002C
- kyBdRepDel EQU $002D
- dblClkTime EQU $002E
- flashRate EQU $002F
- shftCpsLCas EQU $0030
- fstSpDelKey EQU $0031
- dualSpeed EQU $0032
- hiMouseRes EQU $0033
- dateFormat EQU $0034
- clockFormat EQU $0035
- rdMinRam EQU $0036
- rdMaxRam EQU $0037
- langCount EQU $0038
- lang1 EQU $0039
- lang2 EQU $003A
- lang3 EQU $003B
- lang4 EQU $003C
- lang5 EQU $003D
- lang6 EQU $003E
- lang7 EQU $003F
- lang8 EQU $0040
- layoutCount EQU $0041
- layout1 EQU $0042
- layout2 EQU $0043
- layout3 EQU $0044
- layout4 EQU $0045
- layout5 EQU $0046
- layout6 EQU $0047
- layout7 EQU $0048
- layout8 EQU $0049
- layout9 EQU $004A
- layout10 EQU $004B
- layout11 EQU $004C
- layout12 EQU $004D
- layout13 EQU $004E
- layout14 EQU $004F
- layout15 EQU $0050
- layout16 EQU $0051
- aTalkNodeNo EQU $0080
- irqIntFlag EQU $0000
- irqDataReg EQU $0001
- irqSerial1 EQU $0002
- irqSerial2 EQU $0003
- irqAplTlkHi EQU $0004
- tickCnt EQU $0005
- irqVolume EQU $0006
- irqActive EQU $0007
- irqSndData EQU $0008
- brkVar EQU $0009
- evMgrData EQU $000A
- mouseSlot EQU $000B
- mouseClamps EQU $000C
- absClamps EQU $000D
- sccIntFlag EQU $000E
- extVGCInt EQU $01 ; Returned by GetIRQEnable
- scanLineInt EQU $02 ; Returned by GetIRQEnable
- adbDataInt EQU $04 ; Returned by GetIRQEnable
- ADTBDataInt EQU $04 ; maintained for compatiblity with old interfaces
- oneSecInt EQU $10 ; Returned by GetIRQEnable
- quartSecInt EQU $20 ; Returned by GetIRQEnable
- vbInt EQU $40 ; Returned by GetIRQEnable
- kbdInt EQU $80 ; Returned by GetIRQEnable
- kybdEnable EQU $0000 ; Parameter to IntSource
- kybdDisable EQU $0001 ; Parameter to IntSource
- vblEnable EQU $0002 ; Parameter to IntSource
- vblDisable EQU $0003 ; Parameter to IntSource
- qSecEnable EQU $0004 ; Parameter to IntSource
- qSecDisable EQU $0005 ; Parameter to IntSource
- oSecEnable EQU $0006 ; Parameter to IntSource
- oSecDisable EQU $0007 ; Parameter to IntSource
- adbEnable EQU $000A ; Parameter to IntSource
- adbDisable EQU $000B ; Parameter to IntSource
- scLnEnable EQU $000C ; Parameter to IntSource
- scLnDisable EQU $000D ; Parameter to IntSource
- exVCGEnable EQU $000E ; Parameter to IntSource
- exVCGDisable EQU $000F ; Parameter to IntSource
- mouseOff EQU $0000
- transparent EQU $0001
- transParnt EQU $0001 ; (old name)
- moveIntrpt EQU $0003
- bttnIntrpt EQU $0005
- bttnOrMove EQU $0007
- mouseOffVI EQU $0008
- transParntVI EQU $0009 ; (old name)
- transparentVI EQU $0009
- moveIntrptVI EQU $000B
- bttnIntrptVI EQU $000D
- bttnOrMoveVI EQU $000F
- toolLoc1 EQU $0000
- toolLoc2 EQU $0001
- usrTLoc1 EQU $0002
- usrTLoc2 EQU $0003
- intrptMgr EQU $0004
- copMgr EQU $0005
- abortMgr EQU $0006
- _sysFailMgr EQU $0007
- aTalkIntHnd EQU $0008
- sccIntHnd EQU $0009
- scLnIntHnd EQU $000A
- sndIntHnd EQU $000B
- vblIntHnd EQU $000C
- mouseIntHnd EQU $000D
- qSecIntHnd EQU $000E
- kybdIntHnd EQU $000F
- adbRBIHnd EQU $0010
- adbSRQHnd EQU $0011
- deskAccHnd EQU $0012
- flshBufHnd EQU $0013
- kybdMicHnd EQU $0014
- oneSecHnd EQU $0015
- extVCGHnd EQU $0016
- otherIntHnd EQU $0017
- crsrUpdtHnd EQU $0018
- incBsyFlag EQU $0019
- decBsyFlag EQU $001A
- bellVector EQU $001B
- breakVector EQU $001C
- traceVector EQU $001D
- stepVector EQU $001E
- ctlYVector EQU $0028
- proDOSVector EQU $002A
- proDOSVctr EQU $002A ; for backward compatibility
- osVector EQU $002B
- msgPtrVector EQU $002C
- msgPtrVctr EQU $002C ; for backward compatibility
- memMoverVector EQU $0080
- sysSpeedVector EQU $0081
- slotArbiterVector EQU $0082
- hiInterruptVector EQU $0086
- midiInterruptVector EQU $0087
- ; offset constants for ClampRec
- oyMaxClamp EQU 0
- oyMinClamp EQU 2
- oxMaxClamp EQU 4
- oxMinClamp EQU 6
- ; offset constants for FWRec
- oyRegExit EQU 0
- oxRegExit EQU 2
- oaRegExit EQU 4
- ostatus EQU 6
- ; offset constants for MouseRec
- omouseMode EQU 0
- omouseStatus EQU 1
- oyPos EQU 2
- oxPos EQU 4
- ; offset constants for InterruptStateRec
- oirq_A EQU 0
- oirq_X EQU 2
- oirq_Y EQU 4
- oirq_S EQU 6
- oirq_D EQU 8
- oirq_P EQU 10
- oirq_DB EQU 11
- oirq_e EQU 12
- oirq_K EQU 13
- oirq_PC EQU 14
- oirq_state EQU 16
- oirq_shadow EQU 17
- oirq_mslot EQU 19
- ; constants for ConvSeconds verb value
- secs2TimeRec EQU 0
- TimeRec2Secs EQU 1
- secs2Text EQU 2
- secs2ProDOS EQU 4
- ProDOS2Secs EQU 5
- getCurrTimeInSecs EQU 6
- setCurrTimeInSecs EQU 7
- ProDOS2TimeRec EQU 8 ;fixed 26-Feb-92 DAL
- TimeRec2ProDOS EQU 9 ;fixed 26-Feb-92 DAL
- secs2HCard EQU 10
- HCard2Secs EQU 11
-
- ; SysBeep2 constants
- sbSilence EQU $8000
- sbDefer EQU $4000
- sbAlertStage0 EQU $0000
- sbAlertStage1 EQU $0001
- sbAlertStage2 EQU $0002
- sbAlertStage3 EQU $0003
- sbOutsideWindow EQU $0004
- sbOperationComplete EQU $0005
- sbBadKeypress EQU $0008
- sbBadInputValue EQU $0009
- sbInputFieldFull EQU $000A
- sbOperationImpossible EQU $000B
- sbOperationFailed EQU $000C
- sbGSOStoP8 EQU $0011
- sbP8toGSOS EQU $0012
- sbDiskInserted EQU $0013
- sbDiskEjected EQU $0014
- sbSystemShutdown EQU $0015
- sbDiskRequest EQU $0030
- sbSystemStartup EQU $0031
- sbSystemRestart EQU $0032
- sbBadDisk EQU $0033
- sbKeyClick EQU $0034
- sbReturnKey EQU $0035
- sbSpaceKey EQU $0036
- sbWhooshOpen EQU $0040
- sbWhooshClosed EQU $0041
- sbFillTrash EQU $0042
- sbEmptyTrash EQU $0043
- sbAlertWindow EQU $0050
- sbAlertStop EQU $0052
- sbAlertNote EQU $0053
- sbAlertCaution EQU $0054
- sbScreenBlanking EQU $0060
- sbScreenUnblanking EQU $0061
- sbYouHaveMail EQU $0100
- sbErrorWindowBase EQU $0E00 ;uses $0Exx
- sbErrorWindowOther EQU $0EFF
-
- ; StringToText constants
- fAllowMouseText EQU $8000
- fAllowLongerSubs EQU $4000
- fForceLanguage EQU $2000
- fPassThru EQU $1000
-